using System;
using System.Linq;
using System.Collections;
using System.Collections.Generic;

namespace Pentia.Linq
{
  /// <summary>
  /// Describes the supported axis types in Sitecore
  /// </summary>
  public enum Axis
  {
    /// <summary>
    /// Contains all children of the item
    /// </summary>
    Children,
    /// <summary>
    /// Contains all ancestors of the item
    /// </summary>
    Ancestor,
    /// <summary>
    /// Contains all ancestors of and the current item itself
    /// </summary>
    AncestorOrSelf,
    /// <summary>
    /// Contains all descendants of the current item
    /// </summary>
    Descendant,
    /// <summary>
    /// Contains all descendants of and the current items itself
    /// </summary>
    DescendantOrSelf,
    /// <summary>
    /// Contains all items preceding the current item in the tree
    /// </summary>
    Preceding,
    /// <summary>
    /// Contains all items following the current item in the tree
    /// </summary>
    Following
  }
}